import 'package:get/get.dart';
import 'package:palmf_hid/common/entities/data_base/my_database.dart';

class HomeState {
  HomeState() {
    ///Initialize variables
  }

  final _isExpand = false.obs;
  final _syncNum = "".obs;

  set syncNum(value) => _syncNum.value = value;

  get syncNum => _syncNum.value;

  set isExpand(value) => _isExpand.value = value;

  get isExpand => _isExpand.value;

  final _index = 0.obs;

  set index(value) => _index.value = value;

  get index => _index.value;
  var historyResultList = <Results>[].obs;
  final _hasDevice = false.obs;
  final _deviceNum = "".obs;

  get deviceNum => _deviceNum.value;

  set deviceNum(value) => _deviceNum.value = value;

  final _status = 0.obs;

  get status => _status.value;

  set status(value) => _status.value = value;

  set hasDevice(value) => _hasDevice.value = value;

  get hasDevice => _hasDevice.value;
  final _isInit = false.obs;

  set isInit(value) => _isInit.value = value;

  get isInit => _isInit.value;
}
